{template '_header'}
<style>
    .page-sub-toolbar{
        position: relative;
        width: 100%;
        padding-bottom: 15px;
        height: 45px;
        line-height: 1;
        vertical-align: middle;
        margin-bottom: 15px;
        border-bottom: 1px solid #efefef;
    }
</style>
<div class="page-header">
    当前位置：<span class="text-primary">{if !empty($item['id'])}编辑{else}添加{/if}订单 <small>{if !empty($item['id'])}修改【{$item['title']}】{/if}</small>
 </span>
</div>

<div class="page-content">
    <!-- <div class="page-sub-toolbar">
        <span class='pull-left'>
		{ifp 'identity.order.add'}
			<a class="btn btn-primary btn-sm" href="{php echo webUrl('identity/order/add')}">添加新海报</a>
		{/if}
	</span>
    </div> -->
<form id="setform"  action="{php echo webUrl('identity/order/edit')}" method="post" class="form-horizontal form-validate">

<input type="hidden" id="tab" name="tab" value="#tab_basic" />


<div class="tabs-container">
    <ul class="nav nav-tabs" id="myTab">
        <li {if empty($_GPC['tab']) || $_GPC['tab']=='basic'}class="active"{/if}><a href="#tab_basic">基本</a></li>
    </ul>
    <div class="tab-content ">
        <div class="tab-pane {if empty($_GPC['tab']) || $_GPC['tab']=='basic'}active{/if}" id="tab_basic">{template 'identity/order/basic'}</div>
    </div>
</div>

{ife 'identity.order' $item}
<div class="form-group">
    <label class="col-lg control-label"></label>
    <div class="col-sm-9 col-xs-12">
        {if $order['status'] == '3' && $item['status'] == 0}
        <input type="submit"  value="确认订单" name="status" value="1" class="btn btn-primary" />
        {/if}
        {if $item['status'] == 2}
        <input type="submit"  value="确认退单" name="status" value="3" class="btn btn-primary" />
        {/if}
        <a class="btn btn-default" href="{php echo webUrl('identity/order')}">返回列表</a>
    </div>
</div>
{/if}

</form>
</div>
<script language='javascript'>
 
</script>
{template '_footer'}

<!--青岛易联互动网络科技有限公司-->